import request from '@/utils/request'

/**
 * 结算列表
 * @param query
 */
export function listFinanceSettlement(query) {
  return request({
    url: '/finance/financeSettlementV1/financeSettlementList',
    method: 'get',
    params: query
  })
}

/**
 * 确认账单
 * @param query
 */
export function confirmSettlement(query) {
  return request({
    url: '/finance/financeSettlementV1/confirmSettlement',
    method: 'get',
    params: query
  })
}

/**
 * 获取对账单信息
 * @param query
 */
export function checkAmountDetail(query) {
  return request({
    url: '/finance/financeSettlementV1/checkAmountDetail',
    method: 'get',
    params: query
  })
}

/**
 * 获取对账单明细-分页
 * @param query
 */
export function checkAmountList(query) {
  return request({
    url: '/finance/financeSettlementV1/checkAmountList',
    method: 'get',
    params: query
  })
}